<include file="../Public/_header" />
<div class="so_main">
  <div class="page_tit">CNZZ统计</div>
  
  <php>if (empty($cnzz_id)) {</php>
    <!-- 安装CNZZ -->
    <form action="{:U('admin/Tool/doSetCnzz')}" method="post">
    <div class="form">
        <dl class="">
            <dt>域名：</dt>
            <dd><php>echo SITE_URL;</php></dd>
        </dl>
        <div class="page_btm"><input type="submit" class="btn_b" value="安装" /></div>
    </div>
    </form>
    
  <php>}else {</php>
    <!-- 查看CNZZ -->
    <div class="form2">
        <dl><dt><strong>CNZZ ID：</strong></dt><dd>{$cnzz_id}</dd></dl>
        <dl><dt><strong>CNZZ密码：</strong></dt><dd>{$cnzz_password}</dd></dl>
        <form action="{:U('admin/Tool/deleteCnzz')}" method="post" onsubmit="return confirm('删除后无法恢复, 确认删除?');">
        <dl><dt></dt><dd><input type="submit" class="btn_b" value="删除CNZZ" /></dd></dl>
        </form>
    </div>
    <iframe width="100%"  height="1400" border="0" src="http://intf.cnzz.com/user/companion/thinksns_login.php?site_id={$cnzz_id}&password={$cnzz_password}&cms=ThinkSNS" frameborder="no"  marginwidth="0" marginheight="0" m scrolling="no" allowtransparency="yes"> </iframe>
  <php>}</php>
</div>
<include file="../Public/_footer" />